<?php if (!defined('THINK_PATH')) exit();?><form id="pagerForm" method="post" action="index.php?c=Goods&a=index">
    <input type="hidden" name="pageNum" value="<?php echo ($search["pageNum"]); ?>" />
    <input type="hidden" name="keywords" value="<?php echo ($search["keywords"]); ?>">
    <input type="hidden" name="star" value="<?php echo ($search["star"]); ?>">
    <input type="hidden" name="end" value="<?php echo ($search["end"]); ?>">
    <input type="hidden" name="shop_name" value="<?php echo ($search["shop_name"]); ?>">
    <input type="hidden" name="city" value="<?php echo ($search["city"]); ?>">
    <input type="hidden" name="numPerPage" value="<?php echo ($pages["numPerPage"]); ?>" />
    <input type="hidden" name="orderField" value="<?php echo ($param["orderField"]); ?>" />
    <input type="hidden" name="buygroup" value="<?php echo ($search["buygroup"]); ?>" />
    <input type="hidden" name="categroy" value="<?php echo ($search["categroy"]); ?>" />
    <input type="hidden" name="zifenlei" value="<?php echo ($search["zifenlei"]); ?>" />
    <input type="hidden" name="activity" value="<?php echo ($search["activity"]); ?>" />
    <input type="hidden" name="field" value="<?php echo ($search["field"]); ?>" />
    <!-- <input type="hidden" name="orderField" value="<?php echo ($pages["currentPage"]); ?>" /> -->
</form>

<link rel="stylesheet" type="text/css" href="css/default1.css" />
<!-- Edit Below -->
<script type="text/javascript" src="./js/jquery.wheelmenu.js"></script>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link href='css/elusive-webfont.css' rel='stylesheet' type='text/css'>
<div class="pageHeader">
    <form rel="pagerForm" onsubmit="return navTabSearch(this);" action="index.php?c=Goods&a=index" method="post">
        <div class="searchBar">
            <div class="subBar">
                <ul>
                    <li>
                    	<div class="buttonActive">
    	                    <div class="buttonContent">
    	                    	<button type="submit">刷新页面</button>
                                <li><a class="button" href="index.php?c=Goods&a=search" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>
    	                    </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </form>
</div>

<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li>
	            <a class="add" href="index.php?c=Goods&a=add" target="dialog" width="800" height="600">
	            	<span>新增</span>
	            </a>
            </li>
            <li>
	            <a class="edit"  href="index.php?c=Goods&a=edit&uid={sid_user}"  target="navTab" width="800" height="600">
	            	<span>修改</span>
	            </a>
            </li>


<!--                 <a onclick="del()"  width="800" height="600" id="1">
    <span>删除</span>
</a> -->
                <a class="delete" href="index.php?c=Goods&a=del" onclick="del()" callback="Delcb" target="ajaxTodo" title="确定要删除吗？" warn="请选择一个商品">
                    <span>删除</span>
                </a>

            </li>
        </ul>
    </div>

    <div id="w_list_print">
    <!-- <form id="tables" action="index.php?c=Present&a=presentCheck" method="post" accept-charset="utf-8"> -->
        <table class="list" width="100%" targetType="navTab" asc="asc" desc="desc" layoutH="116">
            <thead>
            <tr>
                <th align="center" width="10" ><input class="checkedAll" type="checkbox" value="<?php echo ($goods["goodsid"]); ?>"/></th>
                <th align="center" width="100" orderField="id" >订单号</th>
                <th align="center" width="100" orderField="account_money">订单状态</th>
                <th align="center" width="100">商品名称</th>
                <th align="center" width="100">商品规格</th>
                <th align="center" width="100">商品单价</th>
                <th align="center" width="100">商品总价</th>
                <th align="center" width="100">商品数量</th>
                <th align="center" width="100">订单地址</th>
                <th align="center" width="100">下单时间</th>
                <!-- <th align="center" width="100">操作</th> -->
            </tr>
            </thead>
 
            <tbody id="Fares">
		            <tr target="sid_user" rel="<?php echo ($goods["goodsid"]); ?>">
		            </tr>
            </tbody>
        </table>
        <input type="hidden" name='checking' />
    <!-- </form> -->
    </div>

    <div class="panelBar" >
        <div class="pages">
            <span>显示</span>
            <select name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
                <option value="<?php echo ($pages["numPerPage"]); ?>"><?php echo ($pages["numPerPage"]); ?></option>
                <option value="50">50</option>
                <option value="100">100</option>
                <option value="200">200</option>
            </select>
            <span>条，共<?php echo ($pages["total"]); ?>条</span>
        </div>

        <div class="pagination" targetType="navTab" totalCount="<?php echo ($pages["total"]); ?>" numPerPage="<?php echo ($pages["numPerPage"]); ?>" pageNumShown="10" currentPage="<?php echo ($pages["currentPage"]); ?>"></div>

    </div>

</div>